package com.first.hms.mapper;

import com.first.hms.entity.Room;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

/**
 *  房间服务
 * selectRooms(Room room)：查询房间
 * updateRoomState(Room room)：更新房间状态
 * addRoom(Room room) :增加房间*/
@Repository
public interface RoomMapper {

    int updateRoomState(Room room);
    int addRoom(Room room);
    Room selectRoom(String fjh);
    ArrayList<Room> selectRooms(Room room);
}
